package com.zhoug.chart3.core.styleconfig;

import com.zhoug.chart3.MPChartConfig;

/**
 * @Author: zhoug
 * @Date: 2024-02-04
 * @Description:
 */
public class MPStyleConfig implements IMPStyleConfig {
    private int oneScreen = MPChartConfig.DEFAULT_ONE_SCREEN;//
    private boolean autoScaleMax = true;//自动放大到最大

    @Override
    public void setOneScreen(int oneScreen) {
        this.oneScreen = oneScreen;
    }

    @Override
    public void setAutoScaleMax(boolean autoScaleMax) {
        this.autoScaleMax = autoScaleMax;
    }

    @Override
    public int getOneScreen() {
        return oneScreen;
    }

    @Override
    public boolean isAutoScaleMax() {
        return autoScaleMax;
    }

}
